package ud13.ej10;

import java.awt.Graphics;

import javax.swing.JPanel;

@SuppressWarnings("serial")
public class Lienzo extends JPanel {
	private int x;
	public void paint(Graphics g) {
		//g.drawLine(50, 250, 450, 250);
		//g.drawLine(250, 50, 250, 450);
		g.drawOval(x, 200, 100, 100);
	}
	public int getX() {
		return x;
	}
	public void setX(int x) {
		this.x = x;
	}
	
}
